import { translate } from '@/utils/i18n'
export const formItems = [
  {
    filed: 'name',
    type: 'input',
    label: translate('tcname')
  },
  {
    filed: 'type',
    type: 'select',
    label: translate('cmoboType'),
    clearable: true,
    options: [
      { value: '0', label: translate('mpck') },
      { value: '1', label: translate('mpqxk') },
      { value: '2', label: translate('ydck') },
      { value: '3', label: translate('courseSubCard') },
      { value: '4', label: translate('courseLimitCard') }
    ]
  },
  {
    filed: 'status',
    type: 'select',
    label: translate('status'),
    clearable: true,
    options: [
      { value: '1', label: translate('qy') },
      { value: '0', label: translate('jy') }
    ]
  },
  {
    filed: 'venueId',
    type: 'select',
    label: translate('applyVenue'),
    clearable: true,
    options: []
  },
  {
    filed: 'projectId',
    type: 'select',
    label: translate('applyProduct'),
    clearable: true,
    options: []
  }
]
export const queryFormConfig = {
  formItems,
  online: true
}
